package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService {

    /**
     * @description: 统计指定时间区间内的营业额数据
     * @author: zhouzhijie
     * @date: 2023/11/28 16:06
     * @param: [begin, end]
     * @return: 
     **/
    TurnoverReportVO getTurnoverStatistics(LocalDate begin, LocalDate end);

    /**
     * @description: 统计指定时间区间内的用户数据
     * @author: zhouzhijie
     * @date: 2023/11/28 16:06
     * @param: [begin, end]
     * @return:
     **/
    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);

    /**
     * @description: 统计指定时间区间内的用户数据
     * @author: zhouzhijie
     * @date: 2023/11/28 20:58
     * @param: [begin, end]
     * @return: 
     **/
    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);

    /**
     * @description: 统计指定时间区间内的查询销量排名top10
     * @author: zhouzhijie
     * @date: 2023/11/28 20:58
     * @param: [begin, end]
     * @return:
     **/
    SalesTop10ReportVO getSalesTop10(LocalDate begin, LocalDate end);

    /**
     * @description: 导出运营数据报表
     * @author: zhouzhijie
     * @date: 2023/11/29 15:21
     * @param: [response]
     * @return: 
     **/
    void exportBusinessdata(HttpServletResponse response);
}
